/**
 * demo页 
 */ 
import { layout } from '../base'
import { AppRouteRecordRaw } from '../types'

const TestList: AppRouteRecordRaw = {
    path: '/demo',
    name: 'demo',
    component: layout,
    meta: {
      show: true,
      slot: 20,
      title: '呆模'
    },
    children: [
        {
            path: 'demo1',
            name: 'demo1',
            component: () => import('@src/components/demo/demo1.vue'),
            meta: {
              title: 'demo一',
              requiresAuth: true,
              slot: 20,
              roles: ['*'],
            }
        },
        {
            path: 'demo2',
            name: 'demo2',
            component: () => import('@src/components/demo/demo2.vue'),
            meta: {
              requiresAuth: true,
              slot: 10,
              roles: ['*'],
            }
        }
    ]
}

export default TestList